import request from '@/utils/request'

// 查询产线列表
export function listBeltline(query) {
  return request({
    url: '/prs/beltline/list',
    method: 'get',
    params: query
  })
}

//字典
export function dictMatching (data) {
  return request({
    url: '/system/dict/data/type/'+ data,
    method: 'get',
  })
}

// 查询产线详细
export function getBeltline(roleId) {
  return request({
    url: '/prs/beltline/' + roleId,
    method: 'get'
  })
}

// 查询进度图表
export function listProgress(query) {
  return request({
    url: '/prs/order/productionProgress',
    method: 'get',
    params: query
  })
}


// 查询进度明细
export function detailProgress(query) {
  return request({
    url: '/rd/ebom/invList',
    method: 'get',
    params: query
  })
}


